class LoginToken {
  String? accessToken;
  String? refreshToken;
  String? tokenType;

  LoginToken({this.accessToken, this.refreshToken, this.tokenType});

  factory LoginToken.fromJson(Map<String, dynamic> json) => LoginToken(
        accessToken: json['accessToken'] as String?,
        refreshToken: json['refreshToken'] as String?,
        tokenType: json['tokenType'] as String?,
      );

  Map<String, dynamic> toJson() => {
        'accessToken': accessToken,
        'refreshToken': refreshToken,
        'tokenType': tokenType,
      };
}
